<?php
/**
 * Search a MedicalStudy -
 *
 * @author Xavier VILAIN
 *
 */


use Nawa\MedicalStudy;
use Fox\Html\Button;

$searchScreen = new Fox\Html\Screen\Search\Basic("search",new MedicalStudy(),array("label" => false));

$searchScreen->screen()->mainTitle("<div class=\"page-title\">Recherche Etudes</div>");
$searchScreen->screen()->toolbar()->add(new Button("create","?mod=medicalstudies&act=create"));
$searchScreen->grid(Xview::instance()->component("medicalstudies","result"));

echo $searchScreen->render();